<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>20181113</title>
	</head>
	<body>
		
		<script type="text/javascript">
			function a(){
				y = function(){
					x = 2;
				}
				
				return function(){
					var x = 3;
					y();
					console.log(x);
				}
			}
			a()();
		</script>
	</body>
</html>
